package com.smfx.yxt;

import org.springframework.beans.factory.annotation.Autowired;

import com.smfx.yxt.common.enums.RelationType;
import com.smfx.yxt.service.ITermInfoService;
import com.smfx.yxt.wechat.utils.FileUtil;

public class ClassAlbumService extends BaseTest {

//	@Autowired
//	private IClassAlbumService classAlbumService;
//	
//	@Test
//	public void aa() {
//		try {
//			Page<ClassAlbumView> page = new Page<ClassAlbumView>();
//			List<OrderBy> sorts = new ArrayList<>();
//			sorts.add(new OrderBy("CREATE_TIME"));
//			page.setSorts(sorts);
//			page.setParams(new StudentReqVO());
//			page.setPageNo(1);
//			page.setPageSize(10);
//			List<ClassAlbumView> list = classAlbumService.selectListByPage(page);
//			System.out.println(JSONObject.toJSONString(list));
//		} catch (Exception e) {
//			e.printStackTrace();
//		}
//	}
	
	@Autowired
	private ITermInfoService termInfoService;
	
//	@Test
//	public void aa() {
//		TermView termView = termInfoService.selectCurrentTerm();
//		Map<Integer, String> map = termView.getGradeMap();
//		System.out.println(JSONObject.toJSONString(termView));
//	}
	
	public static void main(String[] args) {
		String path = FileUtil.wxuploadImage("3BdtirE_jnEIuOgRsLJ7G4bctTDd8MNl3g64Wm0eYfu6sfQvcBhUJzMr46VixOXa", RelationType.NOTICE.getCode());
		System.out.println(path);
	}
}
